import Vue from 'vue'
import App from './App.vue'
import Vant from 'vant';
import 'vant/lib/index.css';
import store from '@/store'
import Component from '@/components'

import '@/styles/index.less'
Vue.use(Vant);
//注册全局组件
Vue.use(Component);

import bus from '@/eventBus'
import { router } from '@/router'

Vue.use(Vant);
Vue.prototype.$bus = bus

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
